<script setup lang="ts">
import StartBox from "@/components/StartBox/StartBox.vue";

import { onMounted } from "vue";
import { useExamStore } from "@/store/modules/exam";

import { useRouter } from 'vue-router'  

const router = useRouter()  
const examStore = useExamStore();

const goPart1 = () => {
    router.replace("/part1")
}
onMounted(async () => {
});
</script>

<template>
    <StartBox :title="examStore.allData.title" :subtitle="examStore.allData.questionName" :instruction="'INSTRUCTION'"
        :content="examStore.allData.describe" :btn-click="goPart1" />


</template>

<style lang="scss" scoped></style>
